package com._51cto.healthy.service;

import com._51cto.healthy.base.BaseService;
import com._51cto.healthy.content.P;
import com._51cto.healthy.pojo.SetMeal;

import java.util.List;

/****
 * @Author:DancingHorse
 * @Description:TSetmeal业务层接口
 * @Date 2022/4/14 0:16
 *****/
public interface SetMealService extends BaseService<SetMeal> {
    //获取全部数据,分页数据
    P<SetMeal> queryPageList(String query, Integer pageNum, Integer pageSize);
    //获取回显id
    List<Integer> queryItemIds(Integer id);
    //获取最热门的六个套餐
    List<SetMeal> queryHot(Integer num);

    SetMeal queryInfoByPK(Integer id);

    //套餐搜索
    List<SetMeal> searchSetMeal(String k);
}
